package com.ruoyi.generateTest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生成试题对象 generated_exam
 *
 * @author 经纬线
 * @date 2024-08-04
 */
public class GeneratedExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 试题id */
    private Long examId;

    /** 源文件id（关联generate_test_paper表file_id） */
    @Excel(name = "源文件id", readConverterExp = "关=联generate_test_paper表file_id")
    private Long fileId;

    /** 试题名称 */
    @Excel(name = "试题名称")
    private String fileName;

    /** 单选题数量 */
    @Excel(name = "单选题数量")
    private Long singleChoiceCount;

    /** 多选题数量 */
    @Excel(name = "多选题数量")
    private Long multipleChoiceCount;

    /** 判断题数量 */
    @Excel(name = "判断题数量")
    private Long torfCount;

    /** 填空题数量 */
    @Excel(name = "填空题数量")
    private Long fillBlankCount;

    /** 简答题数量 */
    @Excel(name = "简答题数量")
    private Long shortAnswerCount;

    /** 试题难度 */
    @Excel(name = "试题难度")
    private String difficulty;

    public void setExamId(Long examId)
    {
        this.examId = examId;
    }

    public Long getExamId()
    {
        return examId;
    }
    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId()
    {
        return fileId;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setSingleChoiceCount(Long singleChoiceCount)
    {
        this.singleChoiceCount = singleChoiceCount;
    }

    public Long getSingleChoiceCount()
    {
        return singleChoiceCount;
    }
    public void setMultipleChoiceCount(Long multipleChoiceCount)
    {
        this.multipleChoiceCount = multipleChoiceCount;
    }

    public Long getMultipleChoiceCount()
    {
        return multipleChoiceCount;
    }

    public void setTorfCount(Long torfCount)
    {
        this.torfCount = torfCount;
    }

    public Long getTorfCount()
    {
        return torfCount;
    }
    public void setFillBlankCount(Long fillBlankCount)
    {
        this.fillBlankCount = fillBlankCount;
    }

    public Long getFillBlankCount()
    {
        return fillBlankCount;
    }
    public void setShortAnswerCount(Long shortAnswerCount)
    {
        this.shortAnswerCount = shortAnswerCount;
    }

    public Long getShortAnswerCount()
    {
        return shortAnswerCount;
    }
    public void setDifficulty(String difficulty)
    {
        this.difficulty = difficulty;
    }

    public String getDifficulty()
    {
        return difficulty;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examId", getExamId())
            .append("fileId", getFileId())
            .append("fileName", getFileName())
            .append("singleChoiceCount", getSingleChoiceCount())
            .append("multipleChoiceCount", getMultipleChoiceCount())
                .append("torfCount", getTorfCount())
            .append("fillBlankCount", getFillBlankCount())
            .append("shortAnswerCount", getShortAnswerCount())
            .append("difficulty", getDifficulty())
            .toString();
    }
}
